﻿using SD.Infrastructure.RepositoryBase;
using SlamDunk.MES.Domain.Entities.ResourceContext;
using System;
using System.Collections.Generic;

namespace SlamDunk.MES.Domain.IRepositories.Interfaces.ResourceContext
{
    /// <summary>
    /// 班组成员仓储接口
    /// </summary>
    public interface ITeamMemberRepository : IEntityRepository<TeamMember>
    {
        #region # 获取班组成员列表 —— ICollection<TeamMember> Find(Guid teamId)
        /// <summary>
        /// 获取班组成员列表
        /// </summary>
        /// <param name="teamId">班组Id</param>
        /// <returns>班组成员列表</returns>
        ICollection<TeamMember> Find(Guid teamId);
        #endregion
    }
}
